﻿using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Presentation.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Huirui.Cavan.Presentation.ViewModel.SystemModule
{
    public class SupplierTypeViewModel : EntityModel<SupplierType, int, SupplierTypeSearch>, ISupplierTypeViewModel
    {
        public string Purpose { get; set; }
        public string CmbName { get; set; }
    }

    public class SupplierTypeJson
    {
        public bool IsSelected { get; set; }
        public string Id { get; set; }
        public string Name { get; set; }
    }

    public class SupplierTypeJsonViewModel : JsonViewModel<SupplierTypeJson>
    {

    }
}
